package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 售后记录附件图片
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("after_sales_images")
public class AfterSalesImages extends Model<AfterSalesImages> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;
    /**
     * 售后记录ID
     */
    @TableField("after_sales_record_id")
    private String afterSalesRecordId;
    /**
     * 图片URL
     */
    @TableField("image_url")
    private String imageUrl;
    /**
     * 排序序号
     */
    private Integer sort;
    /**
     * 删除标识(0:未删除,1:已删除)
     */
    @TableField("logic_delete")
    private Integer logicDelete;
    /**
     * 创建日期
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新日期
     */
    @TableField("update_date")
    private Date updateDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAfterSalesRecordId() {
        return afterSalesRecordId;
    }

    public void setAfterSalesRecordId(String afterSalesRecordId) {
        this.afterSalesRecordId = afterSalesRecordId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(Integer logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "AfterSalesImages{" +
        "id=" + id +
        ", afterSalesRecordId=" + afterSalesRecordId +
        ", imageUrl=" + imageUrl +
        ", sort=" + sort +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
